from celery import Celery
import os
import django
import lufffyapi

app = Celery('luffy')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lufffyapi.settings.dev')
django.setup()

app.config_from_object('mycelery.config')
app.autodiscover_tasks(['mycelery.sms'])
